package com.cqq.auth.service.bean;

import java.util.List;

import com.cqq.common.core.base.BaseBean;

/**
 * <h3>Url Bean</h3>
 * 
 * @author xijq
 * @version 1.0.0
 * 
 */
public class UrlBean extends BaseBean{

	private static final long serialVersionUID = 7169558724043721236L;

	/**
	 * 主键ID
	 */
	private Integer id;
	
	/**
	 * 系统代码
	 */
	private String systemCode;
		
	/**
	 * URL名称
	 */
	private String name;
	
	/**
	 * URL值
	 */
	private String url;
	
	/**
	 * 是否记录日志
	 */
	private Boolean needLog=false;

	/**
	 * 父ID
	 */
	private Integer parentId=0;

	/**
	 * 权限ID
	 */
	private Integer[] permIds;
	
	/**
	 * 权限Bean列表
	 */
	private List<PermissionBean> perms;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSystemCode() {
		return systemCode;
	}

	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Boolean getNeedLog() {
		return needLog;
	}

	public void setNeedLog(Boolean needLog) {
		this.needLog = needLog;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer[] getPermIds() {
		return permIds;
	}

	public void setPermIds(Integer[] permIds) {
		this.permIds = permIds;
	}

	public List<PermissionBean> getPerms() {
		return perms;
	}

	public void setPerms(List<PermissionBean> perms) {
		this.perms = perms;
	}
	
}
